package top.lemos.criminalintent;

import android.app.Activity;
import android.app.FragmentManager;
import android.os.Bundle;
import android.support.v4.view.ViewPager;


import java.util.ArrayList;

/**
 * Created by Sonp on 2017/4/29.
 */

public class CrimePagerActivity extends Activity {
    private ViewPager mViewPager;
    private ArrayList<Crime> mCrimes;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        mViewPager=new ViewPager(this);
        mViewPager.setId(R.id.ViewPager);
        setContentView(mViewPager);
        mCrimes=CrimeLab.get(this).getCrimes();
        FragmentManager fm=getFragmentManager();

    }
}
